//
//  CWQ_PopView.h
//  sanda
//
//  Created by 陈武琦 on 16/10/21.
//  Copyright © 2016年 陈武琦. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface CWQ_PopCell : UITableViewCell

/** cell上的标题内容 */
@property (nonatomic, strong) UILabel *titleLabel;

/** cell之间的分割线 */
@property (nonatomic, strong) UIImageView *splitters;

@end



@class CWQ_PopView;

@protocol CWQ_PopViewDelegate <NSObject>

- (void)CWQ_PopView:(CWQ_PopView *)popView didSelectRowAtIndexPath:(NSInteger)indexPath title:(NSString *)title;

@end

@interface CWQ_PopView : UIView
@property (nonatomic, weak) id<CWQ_PopViewDelegate> delegate_CWQ;
@property(nonatomic, assign)NSInteger selectRow;
@property (nonatomic, strong) NSArray *titleS;

- (instancetype)initWithFrame:(CGRect)frame titlesArray:(NSArray *)titleS selectIndex:(NSInteger)index delegate:(id<CWQ_PopViewDelegate>)delegate;
- (void)showInView:(UIView *)containView;
- (void)dismiss;
@end
